FROM crpi-1eii4mob5ro3njkv.cn-hangzhou.personal.cr.aliyuncs.com/testhomework/nginx:latest
RUN mkdir /usr/share/nginx/dist
RUN touch /usr/share/nginx/access.log
RUN rm -rf /etc/nginx/nginx.conf
COPY default.conf /etc/nginx/nginx.conf
COPY ./dist /usr/share/nginx/dist
WORKDIR /usr/share/nginx/dist
EXPOSE 8081